function out = f_3Dconvert(H_angle,V_angle)
circle_r = cos(H_angle/180*pi);
out.x = sin(H_angle/180*pi);
out.z = sin(V_angle/180*pi).*circle_r;
out.y = circle_r.*cos(V_angle/180*pi);

